<template>
  <div class="home">
    <van-row>
		<van-col :span="24">
			<van-search v-model="value" placeholder="请输入搜索关键词" />
		</van-col>
	</van-row>
	<!-- 轮播图 -->
	<van-row>
		<van-col :span="24">
			<van-swipe class="my-swipe" :autoplay="2000" indicator-color="white">
			  <van-swipe-item>1</van-swipe-item>
			  <van-swipe-item>2</van-swipe-item>
			  <van-swipe-item>3</van-swipe-item>
			  <van-swipe-item>4</van-swipe-item>
			</van-swipe>
		</van-col>
	</van-row>
	<!-- tabar -->
	<van-tabbar v-model="active">
	  <van-tabbar-item icon="home-o">首页</van-tabbar-item>
	  <van-tabbar-item icon="search">发布</van-tabbar-item>
	  <van-tabbar-item icon="search">我的</van-tabbar-item>
	 
	</van-tabbar>
  </div>
</template>

<script>


export default {
  name: 'HomeView',
  data(){
	  return{
		  value:'',
		  active:0
	  }
  }
}
</script>
<style scoped>
	 .my-swipe .van-swipe-item {
	    color: #fff;
	    font-size: 20px;
	    line-height: 150px;
	    text-align: center;
	    background-color: #39a9ed;
	  }
</style>
